package com.xsy.android.compose.wandroid.logic.network.service

import com.xsy.android.compose.wandroid.logic.model.ArticleListModel
import com.xsy.android.compose.wandroid.logic.model.BannerBean
import com.xsy.android.compose.wandroid.logic.model.BaseModel
import retrofit2.http.GET
import retrofit2.http.Path

/**
 *@author: xiaosy
 *时间: 2024/7/8
 *@Description: java类作用描述
 *@Version: 1.0
 **/
interface HomePageService {
    @GET("banner/json")
    suspend fun getBanner(): BaseModel<List<BannerBean>>

    @GET("article/list/{a}/json")
    suspend fun getArticle(@Path("a") a: Int): BaseModel<ArticleListModel>

}